package com.xc.h05.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName reply
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Reply implements Serializable {
    /**
     * 
     */
    private int id;

    /**
     * 
     */
    private String replyText;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 
     */
    private int questionId;

    /**
     * 
     */
    private long userId;
    private long fId;

    private Question question;
    private User user;
    private User fUser;
    private String nickName;

//    private static final long serialVersionUID = 1L;
}